﻿<Window x:Class="WpfApplicationTemplate.Views.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:viewModels="clr-namespace:WpfApplicationTemplate.ViewModels"
        Title="MainWindow" Height="350" Width="525">
    
    <Window.Resources>
        <viewModels:MainWindowModel x:Key="ViewModel" />
    </Window.Resources>

    <Grid DataContext="{StaticResource ViewModel}">
        <!-- TODO: Add your controls here -->
        <StackPanel Margin="8">
            <Button Content="Show dialog" Padding="4"
                    Command="{Binding ShowDialogCommand}" />
        </StackPanel>
    </Grid>
</Window>
